package com.sparkseries.common.security.exception;


import org.springframework.security.core.AuthenticationException;

/**
 * 自定义异常处理
 */
public class CustomException extends AuthenticationException {
    public CustomException(String msg, Throwable cause) {
        super(msg, cause);
    }

    public CustomException() {super("Token解析异常");}
}
